package com.unionftech.common.permissions.tip.bean;

import java.util.Objects;

/**
 * 权限场景说明信息
 */
public class PermissionTipInfo {
    private String title;
    private String tip;

    public PermissionTipInfo(String title, String tip) {
        this.title = title;
        this.tip = tip;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTip() {
        return tip;
    }

    public void setTip(String tip) {
        this.tip = tip;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        PermissionTipInfo that = (PermissionTipInfo) o;
        return Objects.equals(title, that.title) && Objects.equals(tip, that.tip);
    }

    @Override
    public int hashCode() {
        return Objects.hash(title, tip);
    }
}
